# -*- coding: utf-8 -*-
import socket
class Netcore():
    def __init__():
        self.downloadurl='http://www.kernel.org/pub/linux/kernel/'
        self.savepath
        self.unpackpath
        self.klists
    @property
    def isonline(self):
        try:
             socket.gethostbyname('www.google.com')
             return True
        except socket.gaierror as err:
                print err
                return False
     def buildurl(self):
        pass
    
        
